home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 12405 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: raffles.technet.sg!usenet
  2. From: leonard@pacific.net.sg (Leonard Sim)
  3. Newsgroups: comp.lang.c
  4. Subject: Checking a file
  5. Date: Sun, 31 Mar 1996 03:53:40 GMT
  6. Organization: Pacific Internet, Singapore
  7. Message-ID: <4jkvgq$i8g@raffles.technet.sg>
  8. NNTP-Posting-Host: 203.120.80.4
  9. X-Newsreader: Forte Free Agent 1.0.82
  10.  
  11. Hi there,
  12.  
  13.     I am having some trouble trying to code this procedure, can somebody
  14. please help me? The requirements of the procedure is as follows :
  15.  
  16. There will be a text file containing records of users attempted logins
  17. to a system. The format of the file is like this :
  18.  
  19. USERID      DATE          TIME            REMARKS
  20. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  21. USER01     19960331     131259       SUCCESSFUL
  22. USER01     19960331     131441       SUCCESSFUL
  23. USER02     19960331     131834       UNSUCCESSFUL
  24. USER01     19960331     132000       SUCCESSFUL
  25.  
  26. This procedure must scan through this file and pick up suspected
  27. violation attempts, using a criterion of 3 or more successive
  28. unsuccessful logon attempts. The violation attempts must then be
  29. output into another data file.
  30.  
  31. I hope somebody can help me??
  32.  
  33. Rgds,
  34.  
  35. Leonard Sim
  36.  
  37.